import Vue from 'vue'
import App from './App'
import request from './common/request';
import emotion from './common/emotion.js';
import * as  enums from './common/enums.js';
import * as date from './common/date';
import * as socketApi from './common/wssocket';
import store from './store';
import md5 from './js_sdk/js-md5/src/md5.js';

// main.js
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

Vue.config.productionTip = false
Vue.prototype.$md5 = md5;
Vue.prototype.$http = request;
Vue.prototype.$wsApi = socketApi;
Vue.prototype.$emo = emotion;
Vue.prototype.$enums = enums;
Vue.prototype.$date = date;

App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})

app.$mount()

